import { InfluxDB } from '@influxdata/influxdb-client-browser'


// You can generate a Token from the "Tokens Tab" in the UI
const token = '4VpukLpeTPj76jfqOVCFeTqMbv-BPRvmyZGs5TNOL1aphrCQUoAKJoRhZZf7WZyba9zfVXryAHx3OcUh17ivTA=='
const org = 'Foxconn'
const bucket = 'BMS'

const client = new InfluxDB({ url: 'http://52.155.96.233:8086', token: token })

export { org, bucket }

export default client
